package com.spica.platform.oauth.server.config;

import com.spica.platform.base.config.BaseSpringWebMvcConfig;
import com.spica.platform.uaa.client.model.resolver.ClientQueryArgumentResolver;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;

import java.util.List;

@Configuration
public class CustomerWebMvcConfig extends BaseSpringWebMvcConfig {
    @Override
    public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) {
        super.addArgumentResolvers(argumentResolvers);
        argumentResolvers.add(new ClientQueryArgumentResolver());
    }
}
